package day05;

public class txt7 {
    public static void main(String[] args) {
        int[] a = {3, 5, 7, 9, 8, 1};
        int rs = 0;
        for (int i = 0; i <= 5; i++) {
            rs = rs + a[i];
        }
        System.out.println(rs);
    }
}
